package db

const TableNameCustomerService = TablePrefix + "customer_service"

type CustomerService struct {
	BaseModel
	Type   int    `gorm:"column:type;type:tinyint(1);default:0;comment:0=官方群1=客服人员" json:"types" form:"types"` // 0=官方群1=客服人员
	Name   string `gorm:"column:name;type:varchar(100);default:'';comment:名称" json:"name" form:"name"`         // 名称
	Img    string `gorm:"column:img;type:varchar(255);default:'';comment:图片" json:"img" form:"img"`            // 图片
	Number string `gorm:"column:number;type:varchar(100);default:'';comment:QQ号" json:"number" form:"number"`  // QQ号
	Link   string `gorm:"column:link;type:varchar(255);default:'';comment:跳转地址" json:"link" form:"link"`       // 跳转地址
}

func (*CustomerService) TableName() string {
	return TableNameCustomerService
}
